home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / tour.dxr / 00329.ls < prev    next >
Encoding:
Text File  |  2000-01-21  |  560 b   |  20 lines

  1. on exitFrame
  2.   global firstTime, goOn, gPlaySound, goQuick, gTiming, audioPath, gCurrLabel, gTourVariables, notClicked, gMenuButton, gMenuExit, gTourForwardArrow, gTourBackArrow
  3.   if the frameLabel <> 0 then
  4.     gCurrLabel = the frameLabel
  5.   end if
  6.   FindObj = GetFindObj(gTourVariables)
  7.   repeat with rc in [gMenuButton, gMenuExit, gTourForwardArrow, gTourBackArrow, FindObj]
  8.     doRollover(rc)
  9.   end repeat
  10.   if gTiming then
  11.     startTimer()
  12.     gTiming = 0
  13.   end if
  14.   if the timer > (8 * 60) then
  15.     go(the frame + 1)
  16.   else
  17.     go(the frame)
  18.   end if
  19. end
  20.